package com.isdepci.project.result.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.isdepci.project.result.mapper.resultYearMapper;
import com.isdepci.project.result.domain.resultYear;
import com.isdepci.project.result.service.IresultYearService;

/**
 * 结果Service业务层处理
 *
 * @author isdepci
 * @date 2023-09-06
 */
@Service
public class resultYearServiceImpl implements IresultYearService
{
    @Autowired
    private resultYearMapper resultYearMapper;

    /**
     * 查询结果
     */
    @Override
    public resultYear selectresultYearById(Long id)
    {
        return resultYearMapper.selectresultYearById(id);
    }

    /**
     * 查询结果列表
     */
    @Override
    public List<resultYear> selectresultYearList(resultYear resultYear)
    {
        return resultYearMapper.selectresultYearList(resultYear);
    }

    /**
     * 新增结果
     */
    @Override
    public int insertresultYear(resultYear resultYear)
    {
        return resultYearMapper.insertresultYear(resultYear);
    }

    /**
     * 修改结果
     */
    @Override
    public int updateresultYear(resultYear resultYear)
    {
        return resultYearMapper.updateresultYear(resultYear);
    }

    /**
     * 批量删除结果
     */
    @Override
    public int deleteresultYearByIds(Long[] ids)
    {
        return resultYearMapper.deleteresultYearByIds(ids);
    }

    /**
     * 删除结果信息
     */
    @Override
    public int deleteresultYearById(Long id)
    {
        return resultYearMapper.deleteresultYearById(id);
    }
}
